package com.service;

import java.sql.Date;
import java.util.List;

import com.model.Branch;

public interface BranchService {
	public void add(Branch branch);

	public List<Branch> getAll(int page);
	
	public List<Branch> getAll();
	
	public Branch get(Integer id);
	
	public void delete(Integer id);
	
	public List<Branch> getByDate(Date from,Date to); 
		
	public int getNoOfRecords();
	
	public List getBranchName();
	public Branch findByName(String branchName);
}
